<%--
  Created by IntelliJ IDEA.
  User: bearworker
  Date: 17-4-16
  Time: 下午8:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/easyui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/icon.css">
    <script type="application/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <script type="application/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
</head>
<body>
    <div class="easyui-layout" style="width:100%;height:100%;">
        <div data-options="region:'north',split:true,border:false,href:'${pageContext.request.contextPath}/login/head?username=${username}'" style="height:50px;"></div>
        <div region="west" split="true" title="菜单" style="width:10%">


            <ul>
                <li><a href="javascript:void(0)" onclick="showcontent('/all/buy?username=${username}')">购买门票</a></li>
                <li><a href="javascript:void(0)" onclick="showcontent('/all/report')">购买记录</a></li>
                <li><a href="javascript:void(0)" onclick="showcontent('/login/report')">员工管理</a></li>
                <li><a href="javascript:void(0)" onclick="showcontent('/cust/report')">客户管理</a></li>
            </ul>
        </div>
        <div id="content" region="center" title="主页面" style="align:center;padding:5px;width: 80%">
        </div>
    </div>
</body>
<script>
    function showcontent(language){
        $('#content').panel({href:'${pageContext.request.contextPath}'+language})
    }
</script>
</html>

